package org.zfes.snowier.cloud.zbss.cms.comment.model;
import org.zfes.snowier.common.dao.IBaseModel;
public class CmsComment extends IBaseModel{

	private static final long serialVersionUID = 1L;
	
	public CmsComment() {}
	public CmsComment(Long id) {
		this.setId(id);
	}
	//<-------------------------------------------->

 
	@javax.validation.constraints.NotNull(message="内容ID不能为空")
	  private java.lang.Long contentId;
 
	
	  private java.lang.Long parentId;
 
	
	  private java.lang.Long userId;
 
	@javax.validation.constraints.NotNull(message="站点ID不能为空")
	  private java.lang.Long siteId;
 
	@javax.validation.constraints.NotNull(message="支持数不能为空")
	  private java.lang.Integer upCount;
 
	@javax.validation.constraints.NotNull(message="踩数不能为空")
	  private java.lang.Integer downCount;
 
	
	  private java.lang.Integer commentCount;
 
	@javax.validation.constraints.NotNull(message="收藏数不能为空")
	  private java.lang.Integer faverateCount;
 
	@javax.validation.constraints.NotNull(message="是否推荐不能为空")
	  private java.lang.Byte isRecommend;
 
	@javax.validation.constraints.NotNull(message="是否审核不能为空")
	  private java.lang.Byte isChecked;
 
	
	  private java.lang.Integer score;
 
	
	  private java.lang.Byte commentType;
 
	@javax.validation.constraints.NotNull(message="状态:不能为空")
	  private java.lang.Byte status;
 
	@javax.validation.constraints.NotNull(message="评论时间不能为空")
	  private java.util.Date createTime;
 
	@javax.validation.constraints.NotNull(message="更新时间不能为空")
	  private java.util.Date updateTime;
 
	
	//<-------------------------------------------->
	public CmsComment setContentId(java.lang.Long contentId){
	 this.contentId=contentId;
	 return this;
	}
	public java.lang.Long getContentId(){
		return this.contentId;
	}
	public CmsComment setParentId(java.lang.Long parentId){
	 this.parentId=parentId;
	 return this;
	}
	public java.lang.Long getParentId(){
		return this.parentId;
	}
	public CmsComment setUserId(java.lang.Long userId){
	 this.userId=userId;
	 return this;
	}
	public java.lang.Long getUserId(){
		return this.userId;
	}
	public CmsComment setSiteId(java.lang.Long siteId){
	 this.siteId=siteId;
	 return this;
	}
	public java.lang.Long getSiteId(){
		return this.siteId;
	}
	public CmsComment setUpCount(java.lang.Integer upCount){
	 this.upCount=upCount;
	 return this;
	}
	public java.lang.Integer getUpCount(){
		return this.upCount;
	}
	public CmsComment setDownCount(java.lang.Integer downCount){
	 this.downCount=downCount;
	 return this;
	}
	public java.lang.Integer getDownCount(){
		return this.downCount;
	}
	public CmsComment setCommentCount(java.lang.Integer commentCount){
	 this.commentCount=commentCount;
	 return this;
	}
	public java.lang.Integer getCommentCount(){
		return this.commentCount;
	}
	public CmsComment setFaverateCount(java.lang.Integer faverateCount){
	 this.faverateCount=faverateCount;
	 return this;
	}
	public java.lang.Integer getFaverateCount(){
		return this.faverateCount;
	}
	public CmsComment setIsRecommend(java.lang.Byte isRecommend){
	 this.isRecommend=isRecommend;
	 return this;
	}
	public java.lang.Byte getIsRecommend(){
		return this.isRecommend;
	}
	public CmsComment setIsChecked(java.lang.Byte isChecked){
	 this.isChecked=isChecked;
	 return this;
	}
	public java.lang.Byte getIsChecked(){
		return this.isChecked;
	}
	public CmsComment setScore(java.lang.Integer score){
	 this.score=score;
	 return this;
	}
	public java.lang.Integer getScore(){
		return this.score;
	}
	public CmsComment setCommentType(java.lang.Byte commentType){
	 this.commentType=commentType;
	 return this;
	}
	public java.lang.Byte getCommentType(){
		return this.commentType;
	}
	public CmsComment setStatus(java.lang.Byte status){
	 this.status=status;
	 return this;
	}
	public java.lang.Byte getStatus(){
		return this.status;
	}
	public CmsComment setCreateTime(java.util.Date createTime){
	 this.createTime=createTime;
	 return this;
	}
	public java.util.Date getCreateTime(){
		return this.createTime;
	}
	public CmsComment setUpdateTime(java.util.Date updateTime){
	 this.updateTime=updateTime;
	 return this;
	}
	public java.util.Date getUpdateTime(){
		return this.updateTime;
	}

}
